package org.jeecg.modules.demo.com.kunpeng.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.com.kunpeng.entity.OaProjectCount;
import org.jeecg.modules.demo.com.kunpeng.entity.ProjectCount;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProjectCountMapper extends BaseMapper<ProjectCount> {
    /**
     * 获取项目统计列表
     * @return
     */
    List<ProjectCount> projectCountList(Page<ProjectCount> page, @Param("projectNameOrId")String projectNameOrId,@Param("responsibilityPerson")String responsibilityPerson,
                                        @Param("keyWords")String keyWords);

    /**
     * 获取Oa项目统计列表
     * @return
     */
    List<OaProjectCount> OaProjectCountList(Page<OaProjectCount> page, @Param("projectNameOrId")String projectNameOrId, @Param("keyWords")String keyWords);
}
